<template>
  <div>
    hello task

    <button v-throttle="{ interval: 3000 }" @click="handleClick">点击我（节流）</button>
    <p>{{count}}</p>
  </div>
</template>

<script>
export default {
  name: 'Task',
  data() {
    return {
      count: 0
    }
  },
  methods: {
    handleClick() {
      console.log('按钮被点击了！');
      // 你可以在这里添加你的逻辑
      this.count++
    }
  },
}
</script>

<style  lang="scss" scoped>

</style>